package com.edu.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.user.domain.dto.DoctorUpdateDTO;
import com.edu.user.domain.dto.UserUpdateDTO;
import com.edu.user.domain.po.Doctor;
import com.edu.user.domain.vo.DoctorInfoVO;
import com.edu.user.domain.vo.DoctorVO;
import com.edu.user.utils.Result;

import java.util.List;

public interface DoctorService extends IService<Doctor> {
    List<DoctorVO> getAll();

    DoctorVO getDetailById(Integer doctorId);

    List<DoctorVO> getDoctorsByDepartment(String department);
    List<DoctorVO> getDoctorsByName(String name);

    DoctorInfoVO getDoctorInfoById(Long userId);

    Result<String> updateDoctorProfile(DoctorUpdateDTO updatedUser, Long doctorId);
}
